package test2.Operation;

import test2.Student;

import java.util.TreeMap;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ling
 * Date: 2022-04-22
 * Time: 21:59
 */
public class ExitOperation implements IOperation{
    @Override
    public void work(TreeMap<String, Student> treeMap) {
        System.out.println("退出系统");
        treeMap.clear();
        System.exit(0);
    }
}
